package com.etao.restaurantentity.enums;

public enum SupplierServiceType {
	sms,
    edm,
    app;
	public static SupplierServiceType valueOf(int ordinal) {
        if (ordinal < 0 || ordinal >= values().length) {
            throw new IndexOutOfBoundsException("Invalid ordinal");
        }
        return values()[ordinal];
    }
}
